package serice;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import entity.MyCart;

public interface MyCartservice {
	public void insertMyCart(MyCart cart);
	
	public List<MyCart> selectmycart(@Param("uid")int uid,
			@Param("start")Integer start,
			@Param("offset")Integer offset);

	public Integer getCount(Integer uid);
	
	public Double getCartTotalPrice(int uid);
	
	public boolean checkOutCart(int uid);
}
